package com.grm.workflow.service.impl;

import com.grm.workflow.mapper.WfFormMapper;
import com.grm.workflow.model.WfForm;
import com.grm.workflow.request.WfFormQueryParam;
import com.grm.workflow.service.WfFormService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class WfFormServiceImpl implements WfFormService {
    @Autowired
    private WfFormMapper wfFormMapper;

    @Override
    public List<WfForm> queryAll() {
        return wfFormMapper.queryAll();
    }

    @Override
    public List<WfForm> querySelective(WfFormQueryParam queryParam) {
        return wfFormMapper.querySelective(queryParam);
    }

    @Override
    public WfForm queryById(Long id) {
        return wfFormMapper.queryById(id);
    }
}
